package org.example.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
public class UserInfoVo {
    // 将Long类型数字进行json格式转化时，转为String格式类型
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String username;
    private String phone;
    private String nickName;
}
